<template>
    <div class="home">
        <h1>欢迎登录</h1>
        <el-button @click="login">回首页</el-button>
    </div>
</template>
<script>
export default {
    methods: {
        login() {
            this.$router.push('/')
        }
    }
}

</script>
